home *** CD-ROM | disk | FTP | other *** search
/ Delphi Programmer's Power Pack / Delphi Volume 1.iso / e_to_l / fbuilder / delphi / demos / demabout.pas < prev    next >
Pascal/Delphi Source File  |  1996-09-15  |  654b  |  41 lines

  1. unit Demabout;
  2. interface
  3. uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
  4.   Buttons, ExtCtrls;
  5.  
  6. type
  7.   TAboutBox = class(TForm)
  8.     Panel1: TPanel;
  9.     OKButton: TBitBtn;
  10.     ProgramIcon: TImage;
  11.     ProductName: TLabel;
  12.     Version: TLabel;
  13.     Copyright: TLabel;
  14.     Comments: TLabel;
  15.     Label1: TLabel;
  16.   private
  17.     { Private declarations }
  18.   public
  19.     { Public declarations }
  20.   end;
  21.  
  22. var
  23.   AboutBox: TAboutBox;
  24.  
  25. Procedure DisplayAbout;
  26.  
  27.  
  28. implementation
  29.  
  30. {$R *.DFM}
  31.  
  32. Procedure DisplayAbout;
  33. begin
  34.   AboutBox := TAboutBox.Create(NIL);
  35.   AboutBox.ShowModal;
  36.   AboutBox.Free;
  37. end;
  38.  
  39. end.
  40.  
  41.